﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Tanks
{
    public class RocketLauncher:Weapon
    {
        public RocketLauncher(Tank t)
        {
            reload = 24;
            tank = t;
            Gr = (Bitmap)Bitmap.FromFile("gun2.gif", true);
            Gr.SetResolution(game.Resolution, game.Resolution);
        }
        public override void Fire()
        {
            game.Miss.Add(new Rocket(tank.Facing, tank.CurrentCell));
        }
    }
}
